import requestService from "../service/request";
const Api = {
	preQuotation: "/verify/preQuotation",
	preQuotationSync: "/verify/preQuotationSync",
	getPreQuotation: "/verify/getPreQuotationResult",
};

//获取资金明细列表
export function GetPreQuotation(data) {
	return requestService(Api.preQuotation, {
		type: "post",
		data,
		BASE_URL: "http://manage-api.liangpiao.net.cn",
	});
}
// 预报价同步返回接口 不支持守兔限价和星驰
export function GetPreQuotationSync(data) {
	return requestService(Api.preQuotationSync, {
		type: "post",
		data,
		BASE_URL: "http://manage-api.liangpiao.net.cn",
	});
}

//充值接口
export function GetPreQuotationResult(data) {
	return requestService(Api.getPreQuotation + `/${data}`, {
		type: "get",
		BASE_URL: "http://manage-api.liangpiao.net.cn",
	});
}
